<?php
class Default_Model_Category extends Zend_Db_Table_Abstract
{
	protected $_name= "loaisp";
	
	public function getCategory()
	{
		$TL=$this->fetchAll('idTL=1')->toArray(); //Moi bien $TL la array chua cac cot thoa man idTl =1 trong table 'loaisp'
		return $TL;
	}
	
}